package com.bdqn.desiremall.serivce.goods;

import java.util.List;
import com.bdqn.desiremall.entity.Mall_Goods;
import com.bdqn.desiremall.entity.Mall_GoodsCategory;

/**
 * ��Ʒ����ӿ�
 * @author LENOVO
 *
 */
public interface GoodsSerivce {

	/**
	 * �鿴��Ʒ
	 * @param goods ��Ʒʵ��
	 * @return
	 */
	List<Mall_Goods> goodsView(Mall_Goods goods);
	
	/**
	 * 查询商品类别
	 */
	List<Mall_GoodsCategory> findGoodsCategoryView(int categoryId);
	
	/**ϵͳ����Ա
	 * ��Ʒ�ϼ�
	 * @param goods��Ʒʵ��
	 * @return
	 */
	boolean shelfGoods(Mall_Goods goods);
	
	/**ϵͳ����Ա
	 * ��Ʒ�¼�
	 * @param GoodsId ��Ʒid
	 * @return
	 */
	boolean soldOut(Mall_Goods goods);
	/**ϵͳ����Ա
	 * �޸���Ʒ��Ϣ
	 * @param GoodsId ��Ʒid
	 * @return
	 */
	boolean modifyGoods(Mall_Goods goods);

}
